/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.hcht.xrlh.jcjg.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 检查结果Entity
 * @author 检查结果
 * @version 2016-12-23
 */
public class DrWtxx extends DataEntity<DrWtxx> {
	
	private static final long serialVersionUID = 1L;
	private DrJg jgId;		// 结果ID 父类
	private String wtxxDxmc;		// 执法对象
	private String wtxxWtjl;		// 问题记录
	private String wtxxSfhg;		// 是否合格
	private String wtxxCflx;		// 处罚类型
	private String wtxxSxyj;		// 是否为失信依据
	
	public DrWtxx() {
		super();
	}

	public DrWtxx(String id){
		super(id);
	}

	public DrWtxx(DrJg jgId){
		this.jgId = jgId;
	}

	@Length(min=0, max=64, message="结果ID长度必须介于 0 和 64 之间")
	public DrJg getJgId() {
		return jgId;
	}

	public void setJgId(DrJg jgId) {
		this.jgId = jgId;
	}
	
	@Length(min=0, max=255, message="执法对象长度必须介于 0 和 255 之间")
	public String getWtxxDxmc() {
		return wtxxDxmc;
	}

	public void setWtxxDxmc(String wtxxDxmc) {
		this.wtxxDxmc = wtxxDxmc;
	}
	
	@Length(min=0, max=255, message="问题记录长度必须介于 0 和 255 之间")
	public String getWtxxWtjl() {
		return wtxxWtjl;
	}

	public void setWtxxWtjl(String wtxxWtjl) {
		this.wtxxWtjl = wtxxWtjl;
	}
	
	@Length(min=0, max=2, message="是否合格长度必须介于 0 和 2 之间")
	public String getWtxxSfhg() {
		return wtxxSfhg;
	}

	public void setWtxxSfhg(String wtxxSfhg) {
		this.wtxxSfhg = wtxxSfhg;
	}
	
	@Length(min=0, max=2, message="处罚类型长度必须介于 0 和 2 之间")
	public String getWtxxCflx() {
		return wtxxCflx;
	}

	public void setWtxxCflx(String wtxxCflx) {
		this.wtxxCflx = wtxxCflx;
	}
	
	@Length(min=0, max=2, message="是否为失信依据长度必须介于 0 和 2 之间")
	public String getWtxxSxyj() {
		return wtxxSxyj;
	}

	public void setWtxxSxyj(String wtxxSxyj) {
		this.wtxxSxyj = wtxxSxyj;
	}
	
}